import 'package:flutter/material.dart';
import '../searchPage.dart';

class LoveWatch extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return new _LoveWatchState();
  }
}

class _LoveWatchState extends State<LoveWatch> {

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new Scaffold(
      backgroundColor: Colors.white,
      appBar: new AppBar(
        title: new Text('Watch'),
        actions: <Widget>[
          new Container(
            padding: const EdgeInsets.symmetric(horizontal: 6.0),
            child: new IconButton(
              icon: new Icon(Icons.search),
              onPressed: () {
                Navigator.push(
                  context,
                  new MaterialPageRoute<void>(
                    builder: (BuildContext context) => new Search(),
                    fullscreenDialog: true,
                  ),
                );
              },
            ),
          ),
        ],
      ),
      body: new Container(),
    );
  }
}
